package com.huiruan.controller;

import com.huiruan.service.GoodsService;
import com.huiruan.utils.Result;
import lombok.RequiredArgsConstructor;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author CTL
 * @create 2025-05-13 18:00
 */
@RestController
@RequiredArgsConstructor
@RequestMapping("/goods")
public class GoodsController {
    private final GoodsService goodsService;

    /**
     * 获取视频列表
     *
     * @return
     */
    public Result getList() {
        return Result.success();
    }

    /**
     * 创建商品
     *
     * @return
     */
    public Result add() {
        return Result.success();
    }

    /**
     * 更新商品
     *
     * @return
     */
    public Result update() {
        return Result.success();
    }

    public Result getById() {
        return Result.success();
    }


    /**
     * 上下架商品
     *
     * @return
     */
    public Result updateStatus() {
        return Result.success();
    }

    /**
     * 评论商品
     * @return
     */
    public Result comment(){
        return  Result.success();
    }

    /**
     * 评论列表
     * @return
     */
    public Result commentList(){
        return  Result.success();
    }
}
